function loadMenu(){
	var url=ROOT_PATH+ACTION_PATH+"?doAction=Main&action=menu";
	var loader=new xmlLoader();
	loader.onload=function(){
		document.getElementById("menu").innerHTML=this.textLoaded;
	}
	loader.load(url);
}

function loadTop(){
	var url=ROOT_PATH+ACTION_PATH+"?doAction=Main&action=top";
	var loader=new xmlLoader();
	loader.onload=function(){
		document.getElementById("top").innerHTML=this.textLoaded;
	}
	loader.load(url);
}

function loaderUrlLoad(url){
	var url=ROOT_PATH+ACTION_PATH+"?doAction="+url;
	var loader=new xmlLoader();
	loader.onload=function(){
		document.getElementById("loader").innerHTML=this.textLoaded;
		setBehaviors(document.getElementById("loader"));
	}
	loader.load(url);
}

function init(){
	loadMenu();
	loadTop();
}
